﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Dynamic;
using Common;
using DAL;
using Model;
namespace UI.system.page.config
{
    public partial class display : BaseAdmin
    {
        public AdminInfo info = new AdminInfo();
        public List<TagsInfo> tagslist = new List<TagsInfo>();
        public List<NewsTypeInfo> newstypelist = new List<NewsTypeInfo>();
        public string[] menu1 = { };
        public string[] menu2 = { };
        public string[] menu3 = { };
        public string[] menu4 = { };
        public string[] menu5 = { };
        public string[] menu6 = { };
        public string[] menu7 = { };
        public string[] menu8 = { };
        public string[] we1 = { };
        public string[] we2 = { };
        public string[] we3 = { };
        public string[] we4 = { };
        public string[] we5 = { };
        public string[] we6 = { };
        public string[] we7 = { };
        public string[] notice = { };
        public string[] intro = { };
        public string[] cult = { };
        public string[] environment = { };
        public string[] honor = { };
        protected void Page_Load(object sender, EventArgs e)
        {
            info = AdminDAL.FindOneByID(1);
            tagslist = TagsDAL.FindAll(B.MyAdmin.ID);
            menu1 = info.Menu2.Split('&');
            
            newstypelist = NewsTypeDAL.FindListByIDs(notice[3]);
        }
        
    }
}